package com.ssm.xm.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
public class ClassTransactionInfo implements Serializable {
    private Integer classTransactionId;

    private Integer classId;

    private Integer claClassroomUseId;

    private String classTransactionTitle;

    private String classTransactionContent;

    private String classTransactionPerson;

    private Date classTransactionTime;

    private String classTransactionRemark;

    private String classroomUseId;

    private Integer classroomRatify;

    private static final long serialVersionUID = 1L;

    public Integer getClassTransactionId() {
        return classTransactionId;
    }

    public void setClassTransactionId(Integer classTransactionId) {
        this.classTransactionId = classTransactionId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getClaClassroomUseId() {
        return claClassroomUseId;
    }

    public void setClaClassroomUseId(Integer claClassroomUseId) {
        this.claClassroomUseId = claClassroomUseId;
    }

    public String getClassTransactionTitle() {
        return classTransactionTitle;
    }

    public void setClassTransactionTitle(String classTransactionTitle) {
        this.classTransactionTitle = classTransactionTitle == null ? null : classTransactionTitle.trim();
    }

    public String getClassTransactionContent() {
        return classTransactionContent;
    }

    public void setClassTransactionContent(String classTransactionContent) {
        this.classTransactionContent = classTransactionContent == null ? null : classTransactionContent.trim();
    }

    public String getClassTransactionPerson() {
        return classTransactionPerson;
    }

    public void setClassTransactionPerson(String classTransactionPerson) {
        this.classTransactionPerson = classTransactionPerson == null ? null : classTransactionPerson.trim();
    }

    public Date getClassTransactionTime() {
        return classTransactionTime;
    }

    public void setClassTransactionTime(Date classTransactionTime) {
        this.classTransactionTime = classTransactionTime;
    }

    public String getClassTransactionRemark() {
        return classTransactionRemark;
    }

    public void setClassTransactionRemark(String classTransactionRemark) {
        this.classTransactionRemark = classTransactionRemark == null ? null : classTransactionRemark.trim();
    }

    public String getClassroomUseId() {
        return classroomUseId;
    }

    public void setClassroomUseId(String classroomUseId) {
        this.classroomUseId = classroomUseId == null ? null : classroomUseId.trim();
    }

    public Integer getClassroomRatify() {
        return classroomRatify;
    }

    public void setClassroomRatify(Integer classroomRatify) {
        this.classroomRatify = classroomRatify;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", classTransactionId=").append(classTransactionId);
        sb.append(", classId=").append(classId);
        sb.append(", claClassroomUseId=").append(claClassroomUseId);
        sb.append(", classTransactionTitle=").append(classTransactionTitle);
        sb.append(", classTransactionContent=").append(classTransactionContent);
        sb.append(", classTransactionPerson=").append(classTransactionPerson);
        sb.append(", classTransactionTime=").append(classTransactionTime);
        sb.append(", classTransactionRemark=").append(classTransactionRemark);
        sb.append(", classroomUseId=").append(classroomUseId);
        sb.append(", classroomRatify=").append(classroomRatify);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}